

<div class="firm_search_box">
<div class="firm_search_boxbor">
	<form method="get" name="myform" onsubmit="return search_keyword(this,'请输入关键字');" action="{yun:}if !$config.sy_companydir{/yun}index.php{yun:}else{/yun}{yun:}url m=company{/yun}{yun:}/if{/yun}"> 
		<span class="firm_search_text_city"><i class="firm_search_text_cityicon"></i>  
		<input class="firm_search_text_city_but" type="button" id="city" placeholder='全国' value="{yun:}if $smarty.get.cityid{/yun}{yun:}$city_name[$smarty.get.cityid]{/yun}{yun:}else{/yun}全国{yun:}/if{/yun}" onclick="index_city_new(1, '#city', '#cityid', null, null, null, 3);" /></span>
		{yun:}if !$config.sy_companydir{/yun}
       		<input type="hidden" value="company" name="m" />
		{yun:}/if{/yun}
		{yun:}if $smarty.get.rec=='1'{/yun}
			<input type="hidden" value="1" name="rec" />
		{yun:}/if{/yun}
		<input class="firm_search_text" id="ipt" type="text" placeholder='请输入关键字' value="{yun:}if $getinfo.keyword!=" ="{/yun}{yun:}$getinfo.keyword{/yun}{yun:}else{/yun}请输入关键字{yun:}/if{/yun}" name="keyword" onclick="if(this.value=='请输入关键字'){this.value=''}" onblur="if(this.value==''){this.value='请输入关键字'}" />
		<input type="hidden" name="cityid" id="cityid" value="{yun:}if $smarty.get.cityid{/yun}{yun:}$smarty.get.cityid{/yun}{yun:}/if{/yun}"/>
		<input class="firm_search_submit yun_bg_color" type="submit" value="搜索 " />
	</form>
</div>
{yun:}if $comkeyword{/yun}
			<div class="firm_hot_tags">
		    	热门搜索：{yun:}key limit=12 type=4 recom=1 item=keylist{/yun} 
		                <a href="{yun:}listurl m=company type=keyword v=$keylist.key_title{/yun}">{yun:}$keylist.key_name{/yun}</a> 
		                {yun:}/key{/yun}
		    </div>
		{yun:}else{/yun}
			<div class="firm_hot-tags">&nbsp;</div>
		{yun:}/if{/yun}
</div>




<div class="fiem_seach_chlose">




<div class="fiem_seach_chlose_list"><div class="fiem_seach_chlosename">行业：</div>
	<div class="fiem_seach_chlose_list_r">
		<a href="{yun:}listurl m=company type=hy v=0{/yun}" class="fiem_seach_chlose_list_a {yun:}if !$smarty.get.hy{/yun}fiem_seach_chlose_list_cur{yun:}/if{/yun}">全部</a>
		{yun:}foreach from=$industry_index key=j item=v{/yun}
			<a href="{yun:}listurl m=company type=hy v=$v{/yun}" class="fiem_seach_chlose_list_a {yun:}if $smarty.get.hy==$v{/yun}fiem_seach_chlose_list_cur{yun:}/if{/yun}">{yun:}$industry_name[$v]{/yun}</a>
		{yun:}/foreach{/yun}
	</div>
</div>
<div class="fiem_seach_chlose_list"><div class="fiem_seach_chlosename">性质：</div>
	<div class="fiem_seach_chlose_list_r">
		<a href="{yun:}listurl m=company type=pr v=0{/yun}" class="fiem_seach_chlose_list_a {yun:}if !$smarty.get.pr{/yun}fiem_seach_chlose_list_cur{yun:}/if{/yun}">全部</a>
		{yun:}foreach from=$comdata.job_pr key=j item=v{/yun}
		<a href="{yun:}listurl m=company type=pr v=$v{/yun}" class="fiem_seach_chlose_list_a {yun:}if $smarty.get.pr==$v{/yun}fiem_seach_chlose_list_cur{yun:}/if{/yun}">{yun:}$comclass_name[$v]{/yun}</a>
		{yun:}/foreach{/yun}
	</div>
</div>
<div class="fiem_seach_chlose_list"><div class="fiem_seach_chlosename">规模：</div>
	<div class="fiem_seach_chlose_list_r">
		<a href="{yun:}listurl m=company type=mun v=0{/yun}" class="fiem_seach_chlose_list_a {yun:}if !$smarty.get.mun{/yun}fiem_seach_chlose_list_cur{yun:}/if{/yun}">全部</a>
		{yun:}foreach from=$comdata.job_mun key=j item=v{/yun}
		<a href="{yun:}listurl m=company type=mun v=$v{/yun}" class="fiem_seach_chlose_list_a {yun:}if $smarty.get.mun==$v{/yun}fiem_seach_chlose_list_cur{yun:}/if{/yun}">{yun:}$comclass_name[$v]{/yun}</a>
		{yun:}/foreach{/yun}
	</div>
</div>
<div class="fiem_seach_chlose_list"><div class="fiem_seach_chlosename">福利：</div>
	<div class="fiem_seach_chlose_list_r">
		<a href="{yun:}listurl m=company type=welfare v=0{/yun}" class="fiem_seach_chlose_list_a {yun:}if !$smarty.get.welfare{/yun}fiem_seach_chlose_list_cur{yun:}/if{/yun}">全部</a>
		{yun:}foreach from=$comdata.job_welfare key=j item=v{/yun}
		<a href="{yun:}listurl m=company type=welfare v=$v{/yun}" class="fiem_seach_chlose_list_a {yun:}if $smarty.get.welfare==$v{/yun}fiem_seach_chlose_list_cur{yun:}/if{/yun}">{yun:}$comclass_name[$v]{/yun}</a>
		{yun:}/foreach{/yun}
	</div>
</div>
{yun:}if $smarty.get.provinceid||$smarty.get.cityid||$smarty.get.three_cityid||$smarty.get.hy||$smarty.get.pr||$smarty.get.mun||$smarty.get.welfare||$smarty.get.keyword{/yun}
<div class="Search_close_box">
	<div>
		<div class="Search_clear"> <a href="{yun:}url m=company{/yun}"> 清除所选</a></div>
		<span class="Search_close_box_s">已选条件：</span>
	</div>
	{yun:}if $config.cityid=='' &&  $config.three_cityid==''{/yun} 
	{yun:}if $smarty.get.provinceid{/yun}<a href="{yun:}listurl m=company untype='provinceid'{/yun}'{/yun}" class="Search_jobs_c_a disc_fac">工作地点：{yun:}$city_name[$smarty.get.provinceid]{/yun}</a> {yun:}/if{/yun} 
	{yun:}if $smarty.get.cityid{/yun} <a href="{yun:}listurl m=company untype='cityid'{/yun}" class="Search_jobs_c_a disc_fac">{yun:}$city_name[$smarty.get.cityid]{/yun}</a> {yun:}/if{/yun} {yun:}/if{/yun}
	{yun:}if $smarty.get.three_cityid{/yun} <a href="{yun:}listurl m=company untype='three_cityid'{/yun}" class="Search_jobs_c_a disc_fac">{yun:}$city_name[$smarty.get.three_cityid]{/yun}</a> {yun:}/if{/yun}
	{yun:}if $industry_name[$smarty.get.hy]{/yun} <a href="{yun:}listurl m=company untype='hy'{/yun}" class="Search_jobs_c_a disc_fac">行业：{yun:}$industry_name[$smarty.get.hy]{/yun}</a> {yun:}/if{/yun}
	{yun:}if $smarty.get.pr{/yun} <a href="{yun:}listurl m=company untype='pr'{/yun}" class="Search_jobs_c_a disc_fac">性质：{yun:}$comclass_name[$smarty.get.pr]{/yun}</a> {yun:}/if{/yun}
	{yun:}if $smarty.get.mun{/yun} <a href="{yun:}listurl m=company untype='mun'{/yun}" class="Search_jobs_c_a disc_fac">规模：{yun:}$comclass_name[$smarty.get.mun]{/yun}</a> {yun:}/if{/yun}
	{yun:}if $smarty.get.welfare{/yun} <a href="{yun:}listurl m=company untype='welfare'{/yun}" class="Search_jobs_c_a disc_fac">福利：{yun:}$comclass_name[$smarty.get.welfare]{/yun}</a> {yun:}/if{/yun}
	{yun:}if $smarty.get.keyword{/yun} <a href="{yun:}listurl m=company untype='keyword'{/yun}" class="Search_jobs_c_a disc_fac">{yun:}$smarty.get.keyword{/yun}</a> {yun:}/if{/yun}
	
</div>
{yun:}/if{/yun}
</div>




<script>
function check_type(id){
	var display =$("#"+id).css('display');
	if(display=='none'){
		$("#"+id).show();
		$("#"+id+"_click").attr("class","firm_seach_top_l");
	}else{
		$("#"+id).hide();
		$("#"+id+"_click").attr("class","firm_seach_top_s");
	}
	
}
</script>